04. Notebook + Quiz: Fitting A MLR Model

Workspace

This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity , so you may be able to download them there.

Workspace Information:

  • Default file path:
  • Workspace type: jupyter
  • Opened files (when workspace is loaded): n/a

QUIZ QUESTION: :

Based on the results of your simple linear regression models, match each of the variables to the correct claim about their significance in predicting price.

ANSWER CHOICES:



Variable

Statistically Significant or Not

Not Statistically Significant

Statistically Significant

Statistically Significant

Not Statistically Significant

Statistically Significant

Not Statistically Significant

SOLUTION:

Variable

Statistically Significant or Not

Statistically Significant

Statistically Significant

Statistically Significant

Statistically Significant

Statistically Significant

Statistically Significant

Statistically Significant

Statistically Significant

Statistically Significant

If you sum the Rsquared values from each of the three simple linear regression models together, what is the result?

SOLUTION: Greater than 1

QUIZ QUESTION: :

Based on the results of your multiple linear regression model using all of the variables, match each of the variables to the correct claim about their significance in predicting price.

ANSWER CHOICES:



Variable

Statistically Significant or Not

Statistically Significant

Statistically Significant

Not Statistically Significant

Not Statistically Significant

Not Statistically Significant

Statistically Significant

SOLUTION:

Variable

Statistically Significant or Not

Statistically Significant

Statistically Significant

Not Statistically Significant

Not Statistically Significant

Not Statistically Significant

Not Statistically Significant

Not Statistically Significant

Not Statistically Significant

Statistically Significant

When adding all of your variables into a single multiple linear regression model, what was true of your Rsquared value?

SOLUTION: It is less than 1.

When adding style to the multiple linear regression model, the following happens:

SOLUTION: There is an error, because an object cannot be added to the multiple linear regression model.